/**
 * Filename NotifyClient.java 2021年07月15日
 * Copyright © Ehome Co.Ltd. All Rgiths Reserved.
 *
 * @author wuyingchao
 */
package com.ehome.poct.terminal.api.fegin;


import com.ehome.poct.core.api.vo.order.OrderStatusVO;
import com.ehome.web.entity.ResponseWrapper;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 推送报告Feign客户端
 *
 * @author wyc
 * @date 2021/07/15 10:32
 **/
@FeignClient(value = "palmpoct-client${service.suffix.palmpoct-client:}", url = "${service.palmpoct-client.url:}", path = "/api",contextId = "PoctClient")
public interface PoctClient {

    @GetMapping(value = "/order/payment/{orderNo}")
    ResponseWrapper<OrderStatusVO> getOrderStatus(@PathVariable String orderNo);

}